package com.arpa.oms.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * OMS采购退货明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Data
@ApiModel(value="OmsPurchaseReturnItemVO对象", description="OMS采购退货明细")
public class OmsPurchaseReturnItemVO implements Serializable {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "退货单号")
    private String purchaseReturnCode;

    @ApiModelProperty(value = "采购商品来源code")
    private String sourceItemCode;

    @ApiModelProperty(value = "商品标识")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "商品保质期(天)")
    private BigDecimal expirationQuantity;

    @ApiModelProperty(value = "商品基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "当前商品单位转基本单位件装量")
    private BigDecimal unitConvertQuantity;

    @ApiModelProperty(value = "退货单位")
    private String returnUnit;

    @ApiModelProperty(value = "退货单位名称")
    private String returnUnitName;

    @ApiModelProperty(value = "计划退货数量（退货单位）")
    private BigDecimal planQuantity;

    @ApiModelProperty(value = "计划退货数量（基本单位）")
    private BigDecimal planBasicQuantity;


    @ApiModelProperty(value = "实际退货数量（基本单位）")
    private BigDecimal actualBasicQuantity;

    @ApiModelProperty(value = "实际退货数量（退货单位）")
    private BigDecimal actualQuantity;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "含税单价")
    private BigDecimal taxUnitPrice;

    @ApiModelProperty(value = "金额")
    private BigDecimal amountMoney;

    @ApiModelProperty(value = "税额")
    private BigDecimal taxMoney;

    @ApiModelProperty(value = "价税合计")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "可退数量（采购单位）")
    private BigDecimal refundableQuantity;

    @ApiModelProperty(value = "总数")
    private Long total;
}
